package com.seamtop.cuber.web.dao;

import com.seamtop.cuber.common.entriy.CuberMenu;

import java.util.HashMap;
import java.util.List;

/**
 * Created by zongjunfeng on 2015/10/20.
 */
public interface MenuDao {

    public void addMenu(CuberMenu cuberMenu);

    public List<CuberMenu> findMenuList();

    public List<CuberMenu> findMenuListByParams(HashMap<String,Object> paramMap);

    public void deleteMenu(int menuId);

    public void updateOrderByStep(HashMap<String,Integer> paramMap);

    public void updateCuberMenu(CuberMenu cuberMenu);
}
